//
//  WmcPersionCloudAlbumTabBarDelegate.swift
//  YPWatermarkCamera
//
//  Created by 赵洋 on 2022/12/6.
//

import UIKit

// MARK: - [WmcPersionCloudAlbumTabBarDelegate]

public protocol WmcPersionCloudAlbumTabBarDelegate: NSObjectProtocol {
    /// tabBar选项卡展示的列表
    /// - Parameters:
    ///   - attribute: 当前水印相机的属性
    ///   - defaultList: 默认的Item列表
    /// - Returns: 自定义设置后的Item列表
    func tabBarItemList(_ attribute: WmcAttribute,
                        defaultList: [WmcButtonItemType.PersonCloudAlbumTabBarItem])
        -> [WmcButtonItemType.PersonCloudAlbumTabBarItem]

}

public extension WmcPersionCloudAlbumTabBarDelegate {
    /// tabBar选项卡展示的列表
    func tabBarItemList(_ attribute: WmcAttribute,
                        defaultList: [WmcButtonItemType.PersonCloudAlbumTabBarItem])
        -> [WmcButtonItemType.PersonCloudAlbumTabBarItem] {
        return defaultList
    }

}
